import request from '@/utils/request'
// 查询电价方案列表
export const getdianjiafanganlistapi = params => request.get('pes-microservice-biz/pes/photovoltaic/system/price/template/page', { params })
// 获取电价方案列表
export const getdianjiaxialalistapi = params => request.get('pio-microservice-biz/pio/electric-price-template/list', { params })
// 新增光伏电价方案
export const postadddianjiaapi = data => request.post('pes-microservice-biz/pes/photovoltaic/system/price/template/add', data)
// 修改光伏电价方案
export const putupdatedianjiaapi = data => request.post('pes-microservice-biz/pes/photovoltaic/system/price/template/update', data)
// 删除电价方案
export const postdeldianjiaapi=data=>request.post(`pes-microservice-biz/pes/photovoltaic/system/price/template/delete?id=${data.id}`)